# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/Matos/App/accounting/bankEdit.ui'
#
# Created: Sat Jan 24 08:58:42 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_bankEditDlg(object):
    def setupUi(self, bankEditDlg):
        bankEditDlg.setObjectName("bankEditDlg")
        bankEditDlg.resize(QtCore.QSize(QtCore.QRect(0,0,462,222).size()).expandedTo(bankEditDlg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(bankEditDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.label_3 = QtGui.QLabel(bankEditDlg)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3,0,0,1,1)

        self.name_le = QtGui.QLineEdit(bankEditDlg)
        self.name_le.setObjectName("name_le")
        self.gridlayout1.addWidget(self.name_le,0,1,1,1)

        self.label_4 = QtGui.QLabel(bankEditDlg)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4,0,2,1,1)

        self.owner_le = QtGui.QLineEdit(bankEditDlg)
        self.owner_le.setObjectName("owner_le")
        self.gridlayout1.addWidget(self.owner_le,0,3,1,1)

        self.label = QtGui.QLabel(bankEditDlg)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,1,0,1,1)

        self.acc_le = QtGui.QLineEdit(bankEditDlg)
        self.acc_le.setObjectName("acc_le")
        self.gridlayout1.addWidget(self.acc_le,1,1,1,1)

        self.label_7 = QtGui.QLabel(bankEditDlg)
        self.label_7.setObjectName("label_7")
        self.gridlayout1.addWidget(self.label_7,1,2,1,1)

        self.id_le = QtGui.QLineEdit(bankEditDlg)
        self.id_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.id_le.setReadOnly(True)
        self.id_le.setObjectName("id_le")
        self.gridlayout1.addWidget(self.id_le,1,3,1,1)

        self.label_6 = QtGui.QLabel(bankEditDlg)
        self.label_6.setObjectName("label_6")
        self.gridlayout1.addWidget(self.label_6,2,0,1,1)

        self.code_le = QtGui.QLineEdit(bankEditDlg)
        self.code_le.setObjectName("code_le")
        self.gridlayout1.addWidget(self.code_le,2,1,1,1)

        self.label_8 = QtGui.QLabel(bankEditDlg)
        self.label_8.setObjectName("label_8")
        self.gridlayout1.addWidget(self.label_8,2,2,1,1)

        self.user_le = QtGui.QLineEdit(bankEditDlg)
        self.user_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.user_le.setReadOnly(True)
        self.user_le.setObjectName("user_le")
        self.gridlayout1.addWidget(self.user_le,2,3,1,1)

        self.label_2 = QtGui.QLabel(bankEditDlg)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,3,0,1,1)

        self.coa_le = QtGui.QLineEdit(bankEditDlg)
        self.coa_le.setObjectName("coa_le")
        self.gridlayout1.addWidget(self.coa_le,3,1,1,1)

        self.label_9 = QtGui.QLabel(bankEditDlg)
        self.label_9.setObjectName("label_9")
        self.gridlayout1.addWidget(self.label_9,3,2,1,1)

        self.time_le = QtGui.QDateTimeEdit(bankEditDlg)
        self.time_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.time_le.setReadOnly(True)
        self.time_le.setObjectName("time_le")
        self.gridlayout1.addWidget(self.time_le,3,3,1,1)

        self.label_5 = QtGui.QLabel(bankEditDlg)
        self.label_5.setObjectName("label_5")
        self.gridlayout1.addWidget(self.label_5,4,0,1,1)

        self.note_le = QtGui.QLineEdit(bankEditDlg)
        self.note_le.setObjectName("note_le")
        self.gridlayout1.addWidget(self.note_le,4,1,1,3)
        self.vboxlayout.addLayout(self.gridlayout1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem = QtGui.QSpacerItem(99,28,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)

        self.save_pb = QtGui.QPushButton(bankEditDlg)
        self.save_pb.setObjectName("save_pb")
        self.hboxlayout.addWidget(self.save_pb)

        self.cancel_pb = QtGui.QPushButton(bankEditDlg)
        self.cancel_pb.setObjectName("cancel_pb")
        self.hboxlayout.addWidget(self.cancel_pb)

        spacerItem1 = QtGui.QSpacerItem(99,28,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)
        self.label_3.setBuddy(self.name_le)
        self.label_4.setBuddy(self.owner_le)
        self.label.setBuddy(self.acc_le)
        self.label_7.setBuddy(self.id_le)
        self.label_6.setBuddy(self.code_le)
        self.label_8.setBuddy(self.user_le)
        self.label_2.setBuddy(self.coa_le)
        self.label_9.setBuddy(self.time_le)
        self.label_5.setBuddy(self.note_le)

        self.retranslateUi(bankEditDlg)
        QtCore.QMetaObject.connectSlotsByName(bankEditDlg)
        bankEditDlg.setTabOrder(self.name_le,self.acc_le)
        bankEditDlg.setTabOrder(self.acc_le,self.code_le)
        bankEditDlg.setTabOrder(self.code_le,self.coa_le)
        bankEditDlg.setTabOrder(self.coa_le,self.note_le)
        bankEditDlg.setTabOrder(self.note_le,self.owner_le)
        bankEditDlg.setTabOrder(self.owner_le,self.save_pb)
        bankEditDlg.setTabOrder(self.save_pb,self.cancel_pb)
        bankEditDlg.setTabOrder(self.cancel_pb,self.id_le)
        bankEditDlg.setTabOrder(self.id_le,self.user_le)
        bankEditDlg.setTabOrder(self.user_le,self.time_le)

    def retranslateUi(self, bankEditDlg):
        bankEditDlg.setWindowTitle(QtGui.QApplication.translate("bankEditDlg", "Cash / Bank Account", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("bankEditDlg", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("bankEditDlg", "Owner:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("bankEditDlg", "Account No:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("bankEditDlg", "ID:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("bankEditDlg", "Code:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("bankEditDlg", "Audit User:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("bankEditDlg", "COA:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("bankEditDlg", "Audit Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.time_le.setDisplayFormat(QtGui.QApplication.translate("bankEditDlg", "dd/MM/yyyy hh:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("bankEditDlg", "Note:", None, QtGui.QApplication.UnicodeUTF8))
        self.save_pb.setText(QtGui.QApplication.translate("bankEditDlg", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_pb.setText(QtGui.QApplication.translate("bankEditDlg", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    bankEditDlg = QtGui.QDialog()
    ui = Ui_bankEditDlg()
    ui.setupUi(bankEditDlg)
    bankEditDlg.show()
    sys.exit(app.exec_())
